﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;

namespace NetDon.OA.Interface
{
    public interface IIssuingOrderReceiptInfoTrackService
    {
          int GetOrderCount(IssuingOrderReceiptInfoTrackSearchCriteria criteria);


        DataTable SearchOrdersByCondition(IssuingOrderReceiptInfoTrackSearchCriteria criteria, string sortExpression,
                                          SortDirection sortDirection, int pageSize, int pageIndex);

        bool AddIssuingOrderReceiptInfoTrack(IssuingOrderReceiptInfoTrackData issuingOrderData);

        bool ModifyIssuingOrderReceiptInfoTrack(IssuingOrderReceiptInfoTrackData issuingOrderData);


        bool RemoveIssuingOrderReceiptInfoTrack(Guid issuingOrderReceiptInfoTrackId);


        IssuingOrderReceiptInfoTrackData GetIssuingOrderReceiptInfoTrack(Guid issuingOrderReceiptInfoTrackId);



        bool RemoveIssuingOrderReceiptInfoTrackComment(Guid issuingOrderReceiptInfoTrackCommentId);


        IssuingOrderReceiptInfoTrackCommentData GetIssuingOrderReceiptInfoTrackComment(Guid issuingOrderReceiptInfoTrackCommentId);


        IEnumerable<IssuingOrderReceiptInfoTrackCommentData> GetIssuingOrderReceiptInfoTrackCommentById(
            Guid issuingOrderReceiptInfoTrackId);

        bool CheckIssuingOrderReceiptInfoExists(Guid issuingOrderId);


    }
}


